package com.black.cat.seed.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import javax.validation.constraints.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 隐患服务报告关联的附件
 *
 * @author blackcat
 * @since 2021-04-14
 */
@Data
@ApiModel(description = "隐患服务报告关联的附件")
public class SceneDefectFile  extends  BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull()
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "隐患报告id")
    private Integer defectId;

    @ApiModelProperty(value = "文件名称")
    private String name;

    @ApiModelProperty(value = "文件路径")
    private String path;

}
